<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>Document</title>
  </head>
  <body>
    <script>
      var myName = '小明';				        	// 名称
      var address = 'XX市XX区';	        		// 住址
      var age = 18;						            	// 年龄
      var email = 'xiaoming@localhost'; 		// 电子邮箱
      console.log(myName);			        		// 输出myName的值
      console.log(address);			        		// 输出address的值
      console.log(age);				          		// 输出age的值
      console.log(email);			          		// 输出email的值
    </script>
  </body>
</html>